package cn.sycoder.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@Builder
@ApiModel(value = "Product对象", description = "")
public class ProductAlarmDto {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("产品名称")
    private String name;

    @ApiModelProperty("库存值")
    private Integer inventory;

    @ApiModelProperty("1告警0是正常")
    private Integer alarm;

    @ApiModelProperty("物件编号")
    private String code;

    @ApiModelProperty("警告值 库存值低于警告值告警提示")
    private Integer alarmValue;
}
